StoreID Property (Folder Object) 

The StoreID property returns the identifier of the InfoStore object in which this Folder object resides. Read-only.

Syntax

objFolder.StoreID

Data Type

String

Remarks

The StoreID property corresponds to the MAPI property PR_STORE_ENTRYID, converted to a string of hexadecimal characters.

Note that MAPI systems do not require identifier values to be binary comparable. Accordingly, two identifier values can be different, yet refer to the same object. You can compare identifiers using the MAPI method CompareEntryIDs. For more information, see the MAPI Programmer s Reference.

Example

' from the sample function Folder_ID

    strFolderID = objFolder.ID

' from the sample function Folder_StoreID

    strFolderStoreID = objFolder.storeID

'  can use these IDs with Session.GetFolder()

'  from the sample function Session_GetFolder

    Set objFolder = objSession.GetFolder(folderID:=strFolderID, _

                                      storeID:=strFolderStoreID)

 

See Also

GetFolder, Method (Session Object)